package com.topcent.tioxyc.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.topcent.tioxyc.pojo.CustomerInfo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author: weidian
 * @date: 2024/10/31 15:38
 * @Description: ${description}
 */
public interface CustomerInfoMapper extends BaseMapper<CustomerInfo> {
    List<CustomerInfo> selectCustomerInfo(
            @Param("startDate") String startDate,
            @Param("endDate") String endDate
    );

    List<CustomerInfo> selectCustomerInfos(
            @Param("startDate") String startDate,
            @Param("endDate") String endDate
    );

    void truncateTable();

    List<CustomerInfo> byxie(
            @Param("startDate") String startDate,
            @Param("endDate") String endDate
    );

    List<CustomerInfo> bycode(
            @Param("startDate") String startDate,
            @Param("endDate") String endDate,
            @Param("code") String code
    );

    List<CustomerInfo> sapcode(@Param("code") String code);

    List<CustomerInfo> sapxie();

    List<CustomerInfo> xiaohuo();
}